package com.game.data.vo
{
	import base.BaseVO;
	
	import flash.geom.Point;
	
	public class HitVO extends BaseVO
	{
		public function HitVO()
		{
			super();
		}
		//此项参数由HitVO生成时赋值
		public var actionName:String = "";
		
		//配置表必要参数
		public var hitType:int = 0;//伤害类型
		public var attackBack:Point = new Point();//击退，人物面向右侧时作为参考方向，取(1,1)为右下方
		public var hitInterval:int = int.MAX_VALUE;//攻击间隔
		public var maxHitCount:int = int.MAX_VALUE;//最大攻击次数
		
		//可选参数
		public var addEnergy:int = 5;//添加能量
		public var addEnergyMax:int = 15;//添加能量上限
		public var stiffTime:int = 15;//是否造成僵直
		public var addProtection:int = 2;//添加保护值
		public var addEffect:Array = [];//增添效果
		
		//可选参数或运行时改变参数
		public var isBingo:Boolean = false;//是否必杀
		public var isCanCrit:Boolean = true;//是否可以暴击
		public var isTraction:Boolean = false;//是否对怪物向人物方向牵引
		public var isCanBeMiss:Boolean = true;//是否可以闪避
		public var isEnforceHit:Boolean = false;//是否强制命中
	}
}
